using Illinois.Core.Interfaces;
using Illinois.Core.Models;

namespace Illinois.Core.Services
{
  public class LogInService : ILogInService
  {
    private readonly IUserService _service;

    public LogInService(IUserService service)
    {
      _service = service;
    }

    public User LogIn(string username, string password)
    {
      return _service.GetUser(username, password);
    }
  }
}
